//
//  PeriodsSettingVC.h
//  FishTank
//
//  Created by Scott Zhu on 14/12/11.
//  Copyright (c) 2014年 Scott Zhu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ControlPeriods.h"
#import "DeviceInfo.h"
#import "APIs.h"
@interface PeriodsSettingVC : UIViewController<UIPickerViewDataSource, UIPickerViewDelegate, UIAlertViewDelegate>
@property (strong, nonatomic) ControlPeriods *controlPeriods;
@property (strong, nonatomic) DeviceInfo *deviceInfo;

@property (weak, nonatomic) IBOutlet UIPickerView *period1StartPicker;
@property (weak, nonatomic) IBOutlet UIPickerView *period1EndPicker;
@property (weak, nonatomic) IBOutlet UIPickerView *period2StartPicker;
@property (weak, nonatomic) IBOutlet UIPickerView *period2EndPicker;
@property (weak, nonatomic) IBOutlet UIPickerView *period3StartPicker;
@property (weak, nonatomic) IBOutlet UIPickerView *period3EndPicker;

@property (weak, nonatomic) IBOutlet UIButton *factorySettingButton;

@property (weak, nonatomic) IBOutlet UISwitch *period1LockSwitch;
@property (weak, nonatomic) IBOutlet UILabel *period1OpenLabel;
@property (weak, nonatomic) IBOutlet UILabel *period1CloseLabel;
@property (weak, nonatomic) IBOutlet UIButton *period1OpenTime;
@property (weak, nonatomic) IBOutlet UIButton *period1CloseTime;
@property (weak, nonatomic) IBOutlet UIImageView *period1OpenImageview;
@property (weak, nonatomic) IBOutlet UIImageView *period1CloseImageview;

@property (weak, nonatomic) IBOutlet UISwitch *period2LockSwitch;
@property (weak, nonatomic) IBOutlet UILabel *period2OpenLabel;
@property (weak, nonatomic) IBOutlet UILabel *period2CloseLabel;
@property (weak, nonatomic) IBOutlet UIButton *period2OpenTime;
@property (weak, nonatomic) IBOutlet UIButton *period2CloseTime;
@property (weak, nonatomic) IBOutlet UIImageView *period2OpenImageview;
@property (weak, nonatomic) IBOutlet UIImageView *period2CloseImageview;

@property (weak, nonatomic) IBOutlet UISwitch *period3LockSwitch;
@property (weak, nonatomic) IBOutlet UILabel *period3OpenLabel;
@property (weak, nonatomic) IBOutlet UILabel *period3CloseLabel;
@property (weak, nonatomic) IBOutlet UIButton *period3OpenTime;
@property (weak, nonatomic) IBOutlet UIButton *period3CloseTime;
@property (weak, nonatomic) IBOutlet UIImageView *period3OpenImageview;
@property (weak, nonatomic) IBOutlet UIImageView *period3CloseImageview;


@end
